package com.qf.day08.homework.book;

/**
 * 在接口中定义需要的所有功能（方法）
 */
public interface BookService {

    /**
     * 增删改查
     */
    public boolean addBook(Book book);

    public boolean updateBook(Book book);

    public boolean deleteBook(int bookId);

    public Book selectOne(int bookId);

    public Book[] selectAll();

}
